//
//  ZTModel.h
//  FD
//
//  Created by xiaofang wang on 2018/11/7.
//  Copyright © 2018年 ZhiYuan Network. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface ZTModel : NSObject
/**1.姓名*/
@property (nonatomic, copy) NSString *name;
/**2.地址*/
@property (nonatomic, copy) NSString *address;
/**3.经度*/
@property (nonatomic, strong) NSNumber *longitude;
/**4.纬度*/
@property (nonatomic, strong) NSNumber *latitude;
/**5. 请求参数门店编号 单独转换*/
@property (nonatomic, strong) NSNumber *shopId;

/**标记选中转态*/
@property (nonatomic) BOOL isSelected;

/**这个界面，需判断门店信息字段reservation是否=1，如果=1，则显示这个门店，=0则不显示*/
@property (nonatomic, strong) NSNumber *reservation;

/**自提页面需要判断selfxxx字段 1显示 0不显示*/
@property (nonatomic, strong) NSNumber *selfxx;

@end

NS_ASSUME_NONNULL_END

/*
 {"event":"SUCCESS","data":[{"id":1,"name":"Edenhall","address":"Edenhall, Model Farm Rd, Cork, Ireland","thumbnail":"public/f6499e879cc24b649dccec89a2594001","longitude":-8.5386944,"latitude":51.8903393,"self":0,"delivery":1,"reservation":1},{"id":2,"name":"Marina Branch","address":"Centre Park Rd, Ballintemple, Cork, Ireland","thumbnail":"public/85cd9d371a1e4643af8d90fa46ae02e1","longitude":-8.4485903,"latitude":51.8988808,"self":1,"delivery":1,"reservation":0},{"id":3,"name":"Douglas Branch","address":"Unit 5, St Patrick Mills, Douglas","thumbnail":"public/246d6f194acb44fb851069baa5e910df","longitude":-8.440512,"latitude":51.875996,"self":1,"delivery":1,"reservation":1}],"describe":""}*
 */
